﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OA.Manager;
using OA.Model;
using OA.Utility;

namespace OA.Bll.Reimbursement
{
    public class ReimbursementPlaneTicketPresenter : BasePresenter<ReimbursementPlaneTicketInfo>
    {
        private readonly ReimbursementManager _manager;

        public ReimbursementPlaneTicketPresenter()
        {
            _manager = new ReimbursementManager();
        }

        public new string Get(JsonReq req)
        {
            string filter = "ReimbursementId='" + req.Options["ReimbursementId"] + "'";
            string result = JsonHelper.JsonSerializer(_manager.GetReimbursementPlaneTicketInfo(filter));
            return result;
        }
    }
}
